package com.example.controller;

import com.example.service.MyService;

public class MyController {
    private MyService myService;

    public void setMyService(MyService myService) {
        this.myService = myService;
    }

    public void doSomething() {
        myService.performTask();
    }
}
